package org.aseclipse.core.runtime.app
{
    import mx.core.IContainer;

    public class ApplicationContext implements IApplicationContext
    {
        private var parent_:IContainer;
        private var cache_:Object;
        private var name_:String;
        public function ApplicationContext()
        {
            cache_ = new Object();
        }

        public function setValue(key:String, value:Object):void
        {
            cache_[key] = value;
        }
        
        public function getValue(key:String):Object
        {
            return cache_[key];
        }
        
        public function applicationRunning():void
        {
        }
        
        public function getBrandingApplication():String
        {
            return null;
        }
        
        public function setBrandingName(name:String):void 
        {
            name_ = name;
        }
        
        public function getBrandingName():String
        {
            return name_;
        }
        
        public function setParent(par:IContainer):void {
            parent_ = par;
        }
        
        public function getParent():IContainer {
            return parent_;
        }
        
        
    }
}